package cn.besbing.server.service.primary;

import cn.besbing.model.entities.primary.DbFiles;
import cn.besbing.model.entities.primary.DbFilesExample;
import cn.besbing.model.mapper.primary.DbFilesMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DbFilesServiceImpl implements DbFilesMapper {

    @Autowired(required = false)
    private DbFilesMapper dbFilesMapper;


    @Override
    public long countByExample(DbFilesExample example) {
        return dbFilesMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(DbFilesExample example) {
        return dbFilesMapper.deleteByExample(example);
    }

    @Override
    public int insert(DbFiles record) {
        return dbFilesMapper.insert(record);
    }

    @Override
    public int insertSelective(DbFiles record) {
        return dbFilesMapper.insertSelective(record);
    }

    @Override
    public List<DbFiles> selectByExampleWithBLOBs(DbFilesExample example) {
        return dbFilesMapper.selectByExampleWithBLOBs(example);
    }

    @Override
    public List<DbFiles> selectByExample(DbFilesExample example) {
        return dbFilesMapper.selectByExample(example);
    }

    @Override
    public int updateByExampleSelective(DbFiles record, DbFilesExample example) {
        return dbFilesMapper.updateByExampleSelective(record, example);
    }

    @Override
    public int updateByExampleWithBLOBs(DbFiles record, DbFilesExample example) {
        return dbFilesMapper.updateByExampleWithBLOBs(record, example);
    }

    @Override
    public int updateByExample(DbFiles record, DbFilesExample example) {
        return dbFilesMapper.updateByExample(record, example);
    }
}
